<template>
  <div>
    <router-view />

    <van-tabbar router v-model="active" active-color="#2bd483">
      <van-tabbar-item icon="wap-home-o" to="/">首页</van-tabbar-item>
      <van-tabbar-item icon="logistics" to="/home/consensus">目的地</van-tabbar-item>
      <van-tabbar-item icon="phone-o" to="/home/march">客服</van-tabbar-item>
      <van-tabbar-item icon="friends-o" to="/home/fourth">我的</van-tabbar-item>
    </van-tabbar>
  </div>
</template>

<script>
export default {
  data() {
    return {
      active: 0,
      router:true,
    };
  },
};
</script>

<style lang="scss" scoped>
</style>
